package com.xxx.video.commen.dbs.beans;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

@Entity
public class DownloadHistoryBean {
    @Id
    public String fId;
    public String fTitle;
    public String fPicurl;
    public String fVideo;
    public String fCreateTime;
    public long fPlayTimes;
    public long fCommentTimes;
    public long createTime;

    private DownloadHistoryBean(Builder builder) {
        fId = builder.fId;
        fTitle = builder.fTitle;
        fPicurl = builder.fPicurl;
        fVideo = builder.fVideo;
        fCreateTime = builder.fCreateTime;
        fPlayTimes = builder.fPlayTimes;
        fCommentTimes = builder.fCommentTimes;
        createTime = builder.createTime;
    }

    @Generated(hash = 63615896)
    public DownloadHistoryBean(String fId, String fTitle, String fPicurl,
            String fVideo, String fCreateTime, long fPlayTimes, long fCommentTimes,
            long createTime) {
        this.fId = fId;
        this.fTitle = fTitle;
        this.fPicurl = fPicurl;
        this.fVideo = fVideo;
        this.fCreateTime = fCreateTime;
        this.fPlayTimes = fPlayTimes;
        this.fCommentTimes = fCommentTimes;
        this.createTime = createTime;
    }

    @Generated(hash = 729201655)
    public DownloadHistoryBean() {
    }

    public String getFId() {
        return this.fId;
    }

    public void setFId(String fId) {
        this.fId = fId;
    }

    public String getFTitle() {
        return this.fTitle;
    }

    public void setFTitle(String fTitle) {
        this.fTitle = fTitle;
    }

    public String getFPicurl() {
        return this.fPicurl;
    }

    public void setFPicurl(String fPicurl) {
        this.fPicurl = fPicurl;
    }

    public String getFVideo() {
        return this.fVideo;
    }

    public void setFVideo(String fVideo) {
        this.fVideo = fVideo;
    }

    public String getFCreateTime() {
        return this.fCreateTime;
    }

    public void setFCreateTime(String fCreateTime) {
        this.fCreateTime = fCreateTime;
    }

    public long getFPlayTimes() {
        return this.fPlayTimes;
    }

    public void setFPlayTimes(long fPlayTimes) {
        this.fPlayTimes = fPlayTimes;
    }

    public long getFCommentTimes() {
        return this.fCommentTimes;
    }

    public void setFCommentTimes(long fCommentTimes) {
        this.fCommentTimes = fCommentTimes;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public static final class Builder {
        private String fId;
        private String fTitle;
        private String fPicurl;
        private String fVideo;
        private String fCreateTime;
        private long fPlayTimes;
        private long fCommentTimes;
        private long createTime;

        public Builder() {
        }

        public Builder fId(String val) {
            fId = val;
            return this;
        }

        public Builder fTitle(String val) {
            fTitle = val;
            return this;
        }

        public Builder fPicurl(String val) {
            fPicurl = val;
            return this;
        }

        public Builder fVideo(String val) {
            fVideo = val;
            return this;
        }

        public Builder fCreateTime(String val) {
            fCreateTime = val;
            return this;
        }

        public Builder fPlayTimes(long val) {
            fPlayTimes = val;
            return this;
        }

        public Builder fCommentTimes(long val) {
            fCommentTimes = val;
            return this;
        }

        public Builder createTime(long val) {
            createTime = val;
            return this;
        }

        public DownloadHistoryBean build() {
            return new DownloadHistoryBean(this);
        }
    }
}
